const Sequelize = require('sequelize');
const label = require('../model/label');
const {
    json
} = require('../util/entry');
const get_all_label = async () => {
    try {
        let ins = await label.findAll();
        let data = json(ins);
        return data;
    } catch (err) {
        return err;
    }
}


module.exports = {
    get_all_label
}